package com.pan.dao.order1;

import com.pan.entity.OrderTable1;
import org.apache.ibatis.annotations.Mapper;

import java.sql.Timestamp;
import java.util.List;

@Mapper
public interface OrderTable1SelectDao{
    OrderTable1 selectById(Long id);
    List<OrderTable1> selectByUserId(Long userId);
    List<OrderTable1> selectByTotalAmount(Double totalAmount);
    List<OrderTable1> selectByPayAmount(Double payAmount);
    List<OrderTable1> selectByFreightAmount(Double freightAmount);
    List<OrderTable1> selectByPriceReduction(Double priceReduction);
    List<OrderTable1> selectByScorePriceReduction(Double scorePriceReduction);
    List<OrderTable1> selectByCouponPriceReduction(Double couponPriceReduction);
    List<OrderTable1> selectByPayType(Integer payType);
    List<OrderTable1> selectByOrder1Status(Integer order1Status);
    List<OrderTable1> selectByDistrictId(Integer districtId);
    List<OrderTable1> selectByAddress(String address);
    List<OrderTable1> selectByCreateDate(Timestamp createDate);
    List<OrderTable1> selectByPayDate(Timestamp payDate);
    List<OrderTable1> selectByDeliveryDate(Timestamp deliveryDate);
    List<OrderTable1> selectByConfrimDate(Timestamp confrimDate);
    List<OrderTable1> selectByModifyDate(Timestamp modifyDate);
}